package com.yunchao.eeprint.handler;

import com.yunchao.eeprint.service.PlatformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PlatformHandler {

    @Autowired
    private PlatformService platformService;

    @GetMapping("/platform/auth/store/list")
    public void findTenants(){
        platformService.findTenants(0,6);
    }

    @GetMapping("/platform/auth/store/total")
    public void countTenants(){
        platformService.countTenants();
    }

}
